package Trip;

public class Feeding {

	public double cost;
	public FeedingType feedingType;

	public FeedingType getFeedingType() {
		return feedingType;
	}

	public enum FeedingType {
		ALL_INCLUSIVE, NOT_INCLUDED
	}

	public Feeding() {
		super();
	}

	public Feeding(FeedingType feedingType) {
		super();
		this.feedingType = feedingType;
	}

	public double getCost() {
		switch (this.feedingType) {
		case ALL_INCLUSIVE:
			cost = 700;
			break;
		case NOT_INCLUDED:
			cost = 0;
			break;
		}

		return cost;
	}

}
